# ###### - SIMPLE DIRECTORY ############ # # NOTES: inetorgperson picks up attributes and objectclasses # from all three schemas # # NB: Linux schemas in /usr/local/etc/openldap # include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema # NO SECURITY - no access clause # defaults to anonymous access for read # only rootdn can write pidfile /var/run/slapd/slapd.pid # enable a lot of logging - we might need it # but generates huge logs loglevel -1 # NO TLS-enabled connections # backend definition not required ####################################################################### # bdb database definitions # # replace example and com below with a suitable domain # # If you don't have a domain you can leave it since example.com # is reserved for experimentation or change them to my and inc # ####################################################################### database bdb suffix "dc=lab,dc=cfpt" # root or superuser rootdn "cn=admin, dc=lab,dc=cfpt" rootpw Super # The database directory MUST exist prior to running slapd AND # change path as necessary directory /var/db/openldap/lab_cfpt # Indices to maintain for this directory index cn eq,sub index gn eq,sub index sn eq,sub # read more in slapd.conf reference section cachesize 10000 checkpoint 128 15